export const searchList = [
  {
    type: 'input',
    name: '标题',
    field: 'wordTitle',
  },
]

export const listColumns = [
  {
    title: '标题',
    key: 'wordTitle',
  },
  {
    title: '描述',
    key: 'description',
  },
  {
    title: '所属学院',
    key: 'collageName',
  },
  {
    title: '所属专业',
    key: 'majorName',
  },
  {
    title: '发布人',
    key: 'createByName',
  },
  {
    title: '发布时间',
    key: 'createTime',
  },
]

export const actionArr = [
  {
    action: 'look',
    value: '查看',
  },
  {
    action: 'edit',
    value: '编辑',
  },
  {
    action: 'share',
    value: '共享',
    hiddenList: [
			{
				fileId: 'allowShare',
				showTerm: ['0'],
			},
		],
  },
  {
    action: 'cancelShare',
    value: '取消共享',
    hiddenList: [
			{
				fileId: 'allowShare',
				showTerm: ['1'],
			},
		],
  },
  {
    action: 'del',
    value: '删除',
  },
]
export const btnList = [
  {
    action: 'add',
    value: '新增',
    auth: ''
  }
];